package DBLayer;

import java.util.ArrayList;
import ModelLayer.*;

public interface DBTrainingCategoryIF
{
	public ArrayList<TrainingCategory> getAllTrainingCategory(boolean retriveAssociation);
    public TrainingCategory searchTrainingCategoryID(int trainingCategoryID, boolean retriveAssociation);
    public TrainingCategory searchTrainingCategoryName(String name, boolean retriveAssociation);

    public int insertTrainingCategory(TrainingCategory tc);
    public int updateTrainingCategory(TrainingCategory tc);
    public int delete(int id);

}
